package work6;

public class Rectangle {
    public double length, width;

    public Rectangle(double length, double width) {
        this.length = length;
        this.width = width;
    }

    public double Area() {
        return this.length * this.width;
    }

    public double Perimeter() {
        return (length + width) * 2;
    }
}